public class Face
{
	private int id = -1;
	private int[] neighbors = {-1, -1, -1};
	private Vector[] vertices;
	private Vector[] normals;
	private Plane plane;
	private boolean visible = false;
	
	public Face(int id, int[] neighbors, Vector[] vertices, Vector[] normals, Plane plane)
	{
		this.setId(id);
		this.setNeighbors(neighbors);
		this.setVertices(vertices);
		this.setNormals(normals);
		this.setPlane(plane);
	}

	public Face(int id, Vector[] vertices)
	{
		this.setId(id);
		this.setVertices(vertices);
	}
	
	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int[] getNeighbors()
	{
		return neighbors;
	}

	public void setNeighbors(int[] neighbors)
	{
		this.neighbors = neighbors;
	}

	public Vector[] getVertices()
	{
		return vertices;
	}

	public void setVertices(Vector[] vertices)
	{
		this.vertices = vertices;
	}

	public Vector[] getNormals()
	{
		return normals;
	}

	public void setNormals(Vector[] normals)
	{
		this.normals = normals;
	}

	public Plane getPlane()
	{
		return plane;
	}

	public void setPlane(Plane plane)
	{
		this.plane = plane;
	}

	public boolean isVisible()
	{
		return visible;
	}

	public void setVisible(boolean visible)
	{
		this.visible = visible;
	}
}